package com.example.smartmedicalsystem.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class PageController {

    @GetMapping("/admin.html")
    public String adminPage() {
        return "admin";
    }

    @GetMapping("/doctor.html")
    public String doctorPage() {
        return "doctor";
    }

    @GetMapping("/patient.html")
    public String patientPage() {
        return "patient";
    }

    @GetMapping("/medicine-management.html")
    public String medicineManagementPage() {
        return "medicine-management";
    }
}